const express = require('express');
const router = express.Router();
const test = require('./test');
const titletest = require('./titletest.js')

router.use('/',test)
console.log('app.use test')
//router.use('/topic',home);
router.get('/home',(req, res) => {
    res.render('home',{})
});
router.put('/put', (req, res) => {
    res.send('hello world put')
});
router.use('/titletest', titletest);
module.exports = router;